package com.otp.webapp.comparators;

import java.util.Comparator;
import com.otp.model.test.template.Item;

public class CompItemsByObjectId implements Comparator<Item>{
	
	//@Override
	public int compare(Item i1, Item i2){
		int order1 = (int) (long) i1.getObjectId();
		int order2 = (int) (long) i2.getObjectId();
		return order1-order2;
	}

}
